package com.shop.cloud.domain.system;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.shop.cloud.common.mybatis.BaseEntity;

import lombok.EqualsAndHashCode;
import lombok.ToString;

@ToString(callSuper = true)
@EqualsAndHashCode
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class SysDict extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 
	 */
    private String parentId;
	/**
	 * 
	 */
    private String lable;
	/**
	 * 
	 */
    private Integer sort;
	/**
	 * 
	 */
    private String type;
	/**
	 * 
	 */
    private String value;
	/**
	 * 
	 */
    private String status;
	/**
	 * 
	 */
    private String desc;
    
    
    private String parentNaame;
    
    
    private String parentLable;
    
    
    private String parentType;
    

	public String getParentLable() {
		return parentLable;
	}

	public void setParentLable(String parentLable) {
		this.parentLable = parentLable;
	}

	public String getParentType() {
		return parentType;
	}

	public void setParentType(String parentType) {
		this.parentType = parentType;
	}

	public String getParentNaame() {
		return parentNaame;
	}

	public void setParentNaame(String parentNaame) {
		this.parentNaame = parentNaame;
	}

	public SysDict(){}
    
    public String getParentId() {
        return this.parentId;
    }
    
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
    public String getLable() {
        return this.lable;
    }
    
    public void setLable(String lable) {
        this.lable = lable;
    }
    public Integer getSort() {
        return this.sort;
    }
    
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    public String getValue() {
        return this.value;
    }
    
    public void setValue(String value) {
        this.value = value;
    }
    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }
    public String getDesc() {
        return this.desc;
    }
    
    public void setDesc(String desc) {
        this.desc = desc;
    }
    
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}